package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.qk.domain.business.BusinessCountDO;
import com.qk.domain.business.BusinessDO;
import com.qk.domain.business.BusinessPoolDO;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.entity.Business;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author ZgYn
 * @Date 2025/10/15 10:49
 * @name BusinessMapper
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    BusinessCountDO selectCountBusiness();

    Page<BusinessDO> selectByPage(Page<Object> page, BusinessDTO dto);

    Page<BusinessPoolDO> selectPoolByPage(Page<Object> page, BusinessPoolDTO dto);
}
